package com.jiangjiang.eshop.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName WmsGoodsAllocationStockDetail
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/14 19:59
 * @Version 1.0
 **/
@Data
@TableName("wms_goods_allocation_stock_detail")
public class WmsGoodsAllocationStockDetail {

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 商品sku id
     */
    @TableField("goods_sku_id")
    private Long goodsSkuId;
    /**
     * 货位id
     */
    @TableField("goods_allocation_id")
    private Long goodsAllocationId;
    /**
     * 这一批商品的上架时间
     */
    @TableField("put_on_time")
    private Date putOnTime;
    /**
     * 这一批商品本次上架的数量
     */
    @TableField("put_on_quantity")
    private Long putOnQuantity;
    /**
     * 这一批上架的商品当前还剩余的库存数量
     */
    @TableField("current_stock_quantity")
    private Long currentStockQuantity;
    /**
     * 锁定库存
     */
    @TableField("locked_stock_quantity")
    private Long lockedStockQuantity;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
